using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

namespace hondaab.admin.login
{
    public partial class login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
 

                lblportal.Text = "hondaab";
            }
           
	   }
        private void vacios()
        {
 

 
        }
        protected void btnEntrar_Click(object sender, EventArgs e)
        {

 
			txtlogix.Text = sf.SafeSqlN(txtlogix.Text);
            txtpasx.Text = sf.SafeSqlN(txtpasx.Text);
            txtlogix.Text = "7410";
            txtpasx.Text = "7410";

            if (sf.SafeSqlN(txtlogix.Text) != "" & sf.SafeSqlN(txtpasx.Text) != "")
            {
                if (admins.login(sf.SafeSqlN(txtlogix.Text), sf.SafeSqlN(txtpasx.Text)))
                {
                    HttpContext.Current.Session["adminhondaab1"] = 1;
                    Response.Redirect("../articulos_dir/listado_articulos.aspx");
                }
 
            }

           
        }
    }
}
